home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / bash_completion.d / rrdtool < prev    next >
Encoding:
Text File  |  2010-11-16  |  436 b   |  21 lines

  1. # bash completion for rrdtool
  2.  
  3. have rrdtool &&
  4. _rrdtool ()
  5. {
  6.     local cur
  7.     _get_comp_words_by_ref cur
  8.  
  9.     COMPREPLY=( $( compgen -W 'create update updatev graph dump restore last \
  10.         lastupdate first info fetch tune resize xport' -- "$cur" ) )
  11. } &&
  12. complete -F _rrdtool rrdtool
  13.  
  14. # Local variables:
  15. # mode: shell-script
  16. # sh-basic-offset: 4
  17. # sh-indent-comment: t
  18. # indent-tabs-mode: nil
  19. # End:
  20. # ex: ts=4 sw=4 et filetype=sh
  21.